package cn.tedu.mintmall.mapper;

        import org.apache.ibatis.annotations.Param;
        import org.springframework.stereotype.Repository;

@Repository
public interface StockMapper {
    /**
     * 减少指定商品库存的方法
     * @param productId
     * @param reduceCount
     */
    void updateReduceCountById(@Param("productId") Integer productId,
                               @Param("reduceCount") Integer reduceCount);

}
